/**
 * @projectName: com.xiayuanxing.designPattern
 * @className: Department
 * @author: xiayuanxing
 * @description: TODO
 * @date: 2021/12/28 14:16
 * @version: 1.0
 */
public class Department extends OrganizationComponent{

    public Department(String name, String des) {
        super(name, des);
    }

    @Override
    public String getDes() {
        return super.getDes();
    }

    @Override
    public String getName() {
        return super.getName();
    }



    @Override
    protected void print() {
        System.out.println(getName());
    }
}
